package com.yipao;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 所有依赖的启动类
 *
 * @author tianhao
 */
@SpringBootApplication(scanBasePackages = {"com.yipao"})
@MapperScan("com.yipao.db.dao")
@EnableTransactionManagement
@EnableScheduling
public class AllApplication {

    public static void main(String[] args) {
        SpringApplication.run(AllApplication.class, args);
    }

}
